import { Injectable } from '@angular/core';

@Injectable()
export class CollapsedService {
  public isCollapse:boolean = false
  constructor(  ) {

  }
  getIsCollapse():boolean{
    return this.isCollapse;
  }
  toggleIsCollapse():boolean{//console.log(this.isCollapse)
    this.isCollapse = !this.isCollapse
    return this.isCollapse;
  }
}
